
//5) Given an array of integers check the Fibonacci series.

public class Fibonacci {

	public static void main(String[] args) {
		System.out.println("Those are Fibonacci integers :");
		int fib1 = 0;
		int fib2 = 1;
		int result = 0;
		 while (result <= 100){
			System.out.println(result);
			fib1 = fib2;
			fib2 = result;
			result = fib1 + fib2;	
		};
	}
}